import axios from '../axios'

/*
 * 商城管理模块
 */

export const getBannerList = (data) => {
    return axios({
        url: 'mall/getBannerList',
        method: 'post',
        data
    })
}
export const getBanner = (data) => {
    return axios({
        url: 'mall/getBanner',
        method: 'post',
        data
    })
}
export const getChannelList = (data) => {
    return axios({
        url: 'mall/getChannelList',
        method: 'post',
        data
    })
}
export const getChannel = (data) => {
    return axios({
        url: 'mall/getChannel',
        method: 'post',
        data
    })
}
export const getHotStringList = (data) => {
    return axios({
        url: 'mall/getHotStringList',
        method: 'post',
        data
    })
}
export const saveHotString = (data) => {
    return axios({
        url: 'mall/saveHotString',
        method: 'post',
        data
    })
}
